﻿Imports DomusDotNet.Sbm.ObjectModel

Namespace Services.Interfaces
    Public Interface IBookService
        Inherits IServiceBase

        Function GetAll() As IQueryable(Of Book)

        Function GetSingle(id As Integer) As Book

        Function Reserve(id As Integer, reservationName As String) As Boolean

        Function Search(authorFilter As String, titleFilter As String, publishDateFromFilter As DateTime?, publishDateToFilter As DateTime?, bookAvailable As Boolean?) As IQueryable(Of Book)

    End Interface
End Namespace
